const routes = [
  {
    path: 'financial/commission',
    component: () => import('@/views/financial/commission/index.vue'),
    name: 'commission',
    meta: { title: '财务操作' }
  },
  {
    path: 'financial/brokerage',
    name: 'brokerage',
    component: () => import('@/views/financial/brokerage/index.vue'),
    meta: {
      title: '佣金记录',
    }
  },
  {
    path: 'financial/charge',
    name: 'charge',
    component: () => import('@/views/financial/charge/index.vue'),
    meta: {
      title: '充值记录'
    }
  },
  {
    path: 'distribution/config',
    name: 'config',
    component: () => import('@/views/distribution/config.vue'),
    meta: {
      title: '分销配置'
    }
  },
  {
    path: 'distribution/index',
    name: 'distribution',
    component: () => import('@/views/distribution/index.vue'),
    meta: {
      title: '分销员管理'
    }
  },
  {
    path: 'content/classify',
    name: 'classify',
    component: () => import('@/views/content/classify/index.vue'),
    meta: {
      title: '文章分类'
    }
  },
  {
    path: 'content/article',
    name: 'article',
    component: () => import('@/views/content/article/index.vue'),
    meta: {
      title: '文章管理'
    }
  },
  {
    path: 'content/articleCreat',
    name: 'articleCreat',
    component: () => import('@/views/content/article/detail.vue'),
    meta: {
      title: '文章详情'
    }
  },
  {
    path: 'user/index',
    name: 'user',
    component: () => import('@/views/user/index.vue'),
    meta: {
      title: '用户管理'
    }
  },
  {
    path: 'user/label',
    name: 'userLabel',
    component: () => import('@/views/user/label/index.vue'),
    meta: {
      title: '用户标签'
    }
  },
  {
    path: 'user/grade',
    name: 'userGrade',
    component: () => import('@/views/user/grade/index.vue'),
    meta: {
      title: '用户等级'
    }
  },
  {
    path: 'user/group',
    name: 'userGroup',
    component: () => import('@/views/user/group/index.vue'),
    meta: {
      title: '用户分组'
    }
  },
  {
    path: 'order/index',
    name: 'orderIndex',
    component: () => import('@/views/order/index.vue'),
    meta: {
      title: '用户分组'
    }
  },
]

export default routes;
